From: Ray Strode Date: Wed, 1 Jul 2015 15:18:44 +0000 (-0400) Subject: gdm: use password authentication if all schemes are disabled X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~994^2^2~16 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=58827ba36d7b88a3c1be6bbaa5b6e07a4e6fa15c;p=gnome-shell.git gdm: use password authentication if all schemes are disabled This prevents a traceback, at least. --- diff --git a/js/gdm/util.js b/js/gdm/util.js index b594da4fd..bae46bfe0 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -419,6 +419,11 @@ var ShellUserVerifier = new Lang.Class({ this._defaultService = SMARTCARD_SERVICE_NAME; else if (this._haveFingerprintReader) this._defaultService = FINGERPRINT_SERVICE_NAME; + + if (!this._defaultService) { + log("no authentication service is enabled, using password authentication"); + this._defaultService = PASSWORD_SERVICE_NAME; + } }, _startService: function(serviceName) {